/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class InfomEnum extends StringEnum
{
    public static final String DAY_VALUE = "10";
    public static final String WEEK_VALUE = "20";
    public static final String MONTH_VALUE = "30";
    public static final String QUARTER_VALUE = "40";
    public static final String YEAR_VALUE = "50";
    public static final String OTHER_VALUE = "60";

    public static final InfomEnum day = new InfomEnum("day", DAY_VALUE);
    public static final InfomEnum week = new InfomEnum("week", WEEK_VALUE);
    public static final InfomEnum month = new InfomEnum("month", MONTH_VALUE);
    public static final InfomEnum quarter = new InfomEnum("quarter", QUARTER_VALUE);
    public static final InfomEnum year = new InfomEnum("year", YEAR_VALUE);
    public static final InfomEnum other = new InfomEnum("other", OTHER_VALUE);

    /**
     * construct function
     * @param String infomEnum
     */
    private InfomEnum(String name, String infomEnum)
    {
        super(name, infomEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static InfomEnum getEnum(String infomEnum)
    {
        return (InfomEnum)getEnum(InfomEnum.class, infomEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(InfomEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(InfomEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(InfomEnum.class);
    }
}